home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / games / nhak_src.zip / MAKEFILE.SRC < prev    next >
Text File  |  1993-03-16  |  17KB  |  468 lines

  1. #    Hack Makefile.
  2. #    SCCS Id: @(#)Makefile.unix    3.0    88/10/17
  3.  
  4. # This makefile replaces the previous Makefile.unix, Makefile.xenix,
  5. # Makefile.3B2, Makefile.att, and Makefile.tos.
  6. # Set SYSTEM to one of:
  7. #    'Sysunix'    -- generic UNIX
  8. #    'Sys3B2'    -- AT&T 3B2, 3B5, etc.
  9. #    'Sysatt'    -- AT&T UNIXPC, 7300, 3B1
  10. #    'Systos'    -- Atari
  11. #    'SysV-AT'    -- Microport 286 UNIX (put -DDUMB in CFLAGS)
  12. SYSTEM = Sysunix
  13.  
  14. #
  15. # Make sure that your bourne shell is specified here, as you have to spawn
  16. # some of the commands (eg. depend) in bourne shell for them to work.
  17. #
  18. SHELL=/bin/sh
  19.  
  20. # if you are cross-compiling (eg. from Xenix into a Dos environment) you will
  21. # have to redefine this filename prefix (which is used to select the filenames
  22. # *main.c, *tty.c, and *unix.c for the target environment)
  23. #
  24. # possible values are 'unix' and 'pc'
  25. # Systos wants 'pc'; everything else normally wants 'unix'
  26. TARG = unix
  27.  
  28.  
  29. # if you are using gcc as your compiler:
  30. #    uncomment the CC definition below if it's not in your environment
  31. #    if you get setcgtty() warnings during execution, you are feeding gcc
  32. #        a non-ANSI <sys/ioctl.h> -- either run fixincludes on it or use
  33. #        -traditional in CFLAGS
  34. # CC = gcc
  35.  
  36. # flags may have to be changed as required
  37. # flags for 286 Xenix:
  38. # CFLAGS = -Ml2t16 -O -LARGE -I../include
  39. # LFLAGS = -Ml -F 4000 -SEG 512
  40.  
  41. # flags for 286 Microport SysV-AT
  42. # CFLAGS = -DDUMB -Ml -I../include
  43. # LFLAGS = -Ml
  44.  
  45. # flags for Atari GCC
  46. # CFLAGS = -mshort -O -I../include
  47. # LFLAGS = -s -mshort
  48.  
  49. # flags for Apollos using their native cc
  50. # (as long as it claims to be __STDC__ but isn't)
  51. # CFLAGS = -DAPOLLO -O -I../include
  52.  
  53. # flags for debugging:
  54. # CFLAGS = -g -I../include
  55.  
  56. CFLAGS = -O -I../include
  57. LFLAGS =
  58.  
  59.  
  60. # on some systems the termcap library is in -ltermcap or -lcurses
  61. # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
  62. # Sysatt uses shared library in lieu of this option
  63. # Systos needs -lcurses16 if you use -mshort
  64. #
  65. # TERMLIB = -ltermcap
  66. # TERMLIB = -lcurses
  67. TERMLIB = -ltermlib
  68.  
  69. # any other strange libraries your system needs (for Sysunix only -- the more
  70. # specialized targets should already be right)
  71. #
  72. # on HP-UX, the malloc(3x) routines in libmalloc.a seem to align things
  73. # better than the malloc(3) ones in libc.a
  74. # LIBS = -lmalloc
  75. LIBS =
  76.  
  77. # yacc/lex programs to use to generate lev_comp.c, lev_comp.h, and lev_lex.c.
  78. # if, instead of yacc/lex you have bison/flex, comment/uncomment the following.
  79. YACC     = yacc
  80. LEX      = lex
  81. # YACC     = bison -y
  82. # LEX      = flex
  83.  
  84. # make NetHack
  85. GAME     = nethack
  86.  
  87. # if you defined RANDOM in unixconf.h/pcconf.h since your system did not come
  88. # with a reasonable random number generator -- also remember to get random.c
  89. # into the src directory
  90. # RANDOBJ = random.o
  91. RANDOBJ =
  92.  
  93. # nothing below this line should have to be changed
  94. #
  95. # other things that have to be reconfigured are in config.h,
  96. # {unixconf.h, pcconf.h, tosconf.h}, and possibly system.h
  97.  
  98. HACKCSRC = allmain.c alloc.c apply.c artifact.c attrib.c bones.c cmd.c\
  99.        dbridge.c decl.c demon.c do.c do_name.c do_wear.c dog.c dogmove.c\
  100.        dokick.c dothrow.c eat.c end.c engrave.c exper.c extralev.c\
  101.        fountain.c getline.c hack.c invent.c ioctl.c lock.c mail.c makemon.c\
  102.        mcastu.c mhitm.c mhitu.c mklev.c mkmaze.c mkobj.c mkroom.c mon.c\
  103.        mondata.c monmove.c monst.c mthrowu.c music.c o_init.c objects.c\
  104.        objnam.c options.c pager.c pickup.c polyself.c potion.c pray.c pri.c\
  105.        priest.c prisym.c read.c restore.c rip.c rnd.c rumors.c save.c\
  106.        search.c shk.c shknam.c sit.c sounds.c sp_lev.c spell.c steal.c\
  107.        termcap.c timeout.c topl.c topten.c track.c trap.c u_init.c uhitm.c\
  108.        vault.c version.c weapon.c were.c wield.c wizard.c worm.c worn.c\
  109.        write.c zap.c
  110.  
  111. # all .c that are part of the main NetHack program and are not system specific
  112.  
  113. # now the other .c files, with duplicates commented out
  114. MAKESRC = makedefs.c # monst.c objects.c
  115. SPLEVSRC = lev_comp.c lev_lex.c lev_main.c panic.c # alloc.c monst.c objects.c
  116. TARGSRC = $(TARG)main.c $(TARG)tty.c $(TARG)unix.c
  117.  
  118. CSOURCES = $(HACKCSRC) $(TARGSRC) $(MAKESRC) $(SPLEVSRC)
  119.  
  120. HACKINCL = amiconf.h artifact.h attrib.h color.h config.h coord.h decl.h\
  121.        def_os2.h edog.h epri.h eshk.h extern.h flag.h func_tab.h global.h\
  122.        gold.h hack.h lev.h macconf.h mfndpos.h mkroom.h monattk.h mondata.h\
  123.        monflag.h monst.h monsym.h msdos.h obj.h objclass.h patchlevel.h\
  124.        pcconf.h permonst.h prop.h rm.h sp_lev.h spell.h system.h termcap.h\
  125.        tosconf.h tradstdc.h unixconf.h vault.h vmsconf.h wseg.h you.h\
  126.        youprop.h
  127.  
  128. # all .h files except date.h, onames.h, pm.h & trap.h which would cause
  129. # dependency loops if run through "make depend"
  130. # and lev_comp.h, a special level file.
  131.  
  132. HSOURCES = $(HACKINCL) date.h onames.h pm.h trap.h lev_comp.h
  133.  
  134. SOURCES = $(CSOURCES) $(HSOURCES)
  135.  
  136. # object files for makedefs
  137. MAKEOBJS = makedefs.o monst.o objects.o
  138.  
  139. # object files for special levels compiler
  140. SPLEVOBJS = lev_comp.o lev_lex.o lev_main.o alloc.o monst.o objects.o panic.o
  141.  
  142. HOBJ = allmain.o alloc.o apply.o artifact.o attrib.o bones.o cmd.o dbridge.o\
  143.     decl.o demon.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o\
  144.     dothrow.o eat.o end.o engrave.o exper.o extralev.o fountain.o getline.o\
  145.     hack.o invent.o ioctl.o lock.o mail.o main.o makemon.o mcastu.o mhitm.o\
  146.     mhitu.o mklev.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o\
  147.     monst.o mthrowu.o music.o o_init.o objects.o objnam.o options.o pager.o\
  148.     pickup.o polyself.o potion.o pray.o pri.o priest.o prisym.o read.o\
  149.     restore.o rip.o rnd.o rumors.o save.o search.o shk.o shknam.o sit.o\
  150.     sounds.o sp_lev.o spell.o steal.o termcap.o timeout.o topl.o topten.o\
  151.     track.o trap.o tty.o u_init.o uhitm.o unix.o vault.o version.o\
  152.     weapon.o were.o wield.o wizard.o worm.o worn.o write.o zap.o $(RANDOBJ)
  153.  
  154. # the .o files from the HACKCSRC list, plus main.o tty.o unix.o
  155.  
  156. $(GAME):    $(SYSTEM)
  157.     @echo "$(GAME) is up to date."
  158.  
  159. Sysunix:    $(HOBJ) Makefile
  160.     @echo "Loading ..."
  161.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(TERMLIB) $(LIBS)
  162.     @touch Sysunix
  163.  
  164. Sys3B2:    $(HOBJ) Makefile
  165.     @echo "Loading ..."
  166.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(TERMLIB) -lmalloc
  167.     @touch Sys3B2
  168.  
  169. Sysatt:    $(HOBJ) Makefile
  170.     @echo "Loading ..."
  171.     @$(LD) $(LFLAGS) /lib/crt0s.o /lib/shlib.ifile -o $(GAME) $(HOBJ)
  172.     @touch Sysatt
  173.  
  174. Systos:    $(HOBJ) msdos.o Makefile
  175.     @echo "Loading ..."
  176.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) msdos.o $(TERMLIB)
  177.     @touch Systos
  178.  
  179. SysV-AT:    DUMB.Setup $(HOBJ) Makefile
  180.     @echo "Loading ..."
  181.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(TERMLIB)
  182.     @touch SysV-AT
  183.  
  184. DUMB.Setup:    ../include/extern.h
  185.     cp ../include/extern.h ../include/extern.h.BAK 
  186.     cat ../include/extern.h | \
  187.         sed -e '/^E\ int\ /!b' \
  188.             -e '/[^;/     ]$$/N' \
  189.             -e '/[(][*]occupation[)]/b' \
  190.             -e '/[(][*]afternmv[)]/b' \
  191.             -e '/float_down/b' \
  192.             -e '/done1/b' \
  193.             -e '/identify/b' \
  194.             -e '/Hear_again/b' \
  195.             -e '/hangup/b' \
  196.             -e 's/^\(.*\)$$/\/\* \1 \/\*\*\//' | \
  197.         sed -e '/^E\ void\ /!b' \
  198.             -e '/[^;/     ]$$/N' \
  199.             -e 's/^\(.*\)$$/\/\* \1 \/\*\*\//' \
  200.                 >../include/extern.DUMB 
  201.     cp ../include/extern.DUMB ../include/extern.h 
  202.     @touch DUMB.Setup
  203.  
  204. all:    $(GAME)
  205.  
  206. #
  207. #    dependencies for auxiliary programs
  208. #
  209. makedefs:    $(MAKEOBJS)
  210.     $(CC) $(LFLAGS) -o makedefs $(MAKEOBJS)
  211.  
  212. makedefs.o:  ../include/config.h ../include/permonst.h ../include/objclass.h ../include/patchlevel.h
  213.  
  214. lev_comp:  $(SPLEVOBJS)
  215.     $(CC) $(LFLAGS) -o lev_comp $(SPLEVOBJS)
  216.  
  217. lev_comp.o:  ../include/hack.h ../include/sp_lev.h
  218.  
  219. lev_lex.o:   ../include/hack.h ../include/lev_comp.h ../include/sp_lev.h
  220.  
  221. lev_main.o:  ../include/hack.h
  222.  
  223. ../include/lev_comp.h: lev_comp.c
  224.  
  225. lev_comp.c: lev_comp.y
  226.     $(YACC) -d lev_comp.y
  227.     mv y.tab.c lev_comp.c
  228.     mv y.tab.h ../include/lev_comp.h
  229.  
  230. lev_lex.c: lev_comp.l
  231.     $(LEX) lev_comp.l
  232.     mv lex.yy.c lev_lex.c
  233.  
  234. #
  235. #    The following include files depend on makedefs to be created.
  236. #    As a result, they are not defined in HACKINCL; instead, their
  237. #    dependencies are explicitly outlined here.
  238. #
  239.  
  240. #
  241. #    date.h should be remade any time any of the source or include code
  242. #    is modified.  Unfortunately, this would make the contents of this
  243. #    file far more complex.  Since "hack.h" depends on most of the include
  244. #    files, we kludge around this by making date.h dependent on hack.h,
  245. #    even though it doesn't include this file.
  246. #
  247. ../include/date.h:    $(HACKCSRC) $(TARGSRC) ../include/hack.h makedefs
  248.     ./makedefs -v
  249.  
  250. ../include/trap.h:    makedefs
  251.     ./makedefs -t
  252.  
  253. ../include/onames.h:    makedefs
  254.     ./makedefs -o
  255.  
  256. ../include/pm.h:    makedefs
  257.     ./makedefs -p
  258.  
  259. #
  260. #    The following programs vary depending on what OS you are using.
  261. #    As a result, they are not defined in HACKSRC, and their dependencies
  262. #    are explicitly outlined here.
  263. #
  264. main.o:    ../include/hack.h $(TARG)main.c
  265.     $(CC) $(CFLAGS) -c $(TARG)main.c
  266.     mv $(TARG)main.o main.o
  267.  
  268. tty.o:    ../include/hack.h $(TARG)tty.c
  269.     $(CC) $(CFLAGS) -c $(TARG)tty.c
  270.     mv $(TARG)tty.o tty.o
  271.  
  272. unix.o:    ../include/hack.h $(TARG)unix.c
  273.     $(CC) $(CFLAGS) -c $(TARG)unix.c
  274.     mv $(TARG)unix.o unix.o
  275.  
  276. lint:
  277. # lint cannot have -p here because (i) capitals are meaningful:
  278. # [Ww]izard, (ii) identifiers may coincide in the first six places:
  279. # doweararm() versus dowearring().
  280. # _flsbuf comes from <stdio.h>, a bug in the system libraries.
  281.     @echo lint -axbh -DLINT ...
  282.     @lint -axbh -I../include -DLINT $(HACKCSRC) $(TARGSRC) | sed '/_flsbuf/d'
  283.  
  284.  
  285. diff:
  286.     @- for i in $(SOURCES) ; do \
  287.         cmp -s $$i $D/$$i || \
  288.         ( echo diff $D/$$i $$i ; diff $D/$$i $$i ; echo ) ; done
  289.  
  290. tags: $(CSOURCES)
  291.     @echo ctags -tw ...
  292.     @ctags -tw $(CSOURCES)
  293.     @( cd ../include ; ctags -tw $(HSOURCES) )
  294.   
  295. clean:
  296.     rm -f *.o
  297.  
  298. spotless: clean
  299.     rm -f a.out core $(GAME) lev_comp makedefs
  300.     rm -f ../include/onames.h ../include/pm.h
  301.  
  302.  
  303. depend:
  304. # For the moment we are lazy and disregard /usr/include files because
  305. # the sources contain them conditionally. Perhaps we should use cpp.
  306. #        ( /bin/grep '^#[     ]*include' $$i | sed -n \
  307. #            -e 's,<\(.*\)>,"/usr/include/\1",' \
  308. #
  309. # extern.h is ignored, even though its declared function types may affect the
  310. # compilation of all the .c files, since extern.h changes every time the
  311. # type of an external function does, and we would spend all our time recompiling
  312. # if we did not ignore it.  the risk is minimal, as lint should pick up any
  313. # calls to the modified function that were not modified accordingly.
  314. #
  315. # patchlev.h is the name MS-DOS uses to refer to patchlevel.h after it gets
  316. # through truncating the name, but it does not really exist
  317. #
  318.     for i in ${HACKCSRC}; do \
  319.         ( /bin/grep '^#[     ]*include[     ]*"' $$i | sed -n \
  320.             -e 's/[^"]*"\([^"]*\)".*/\1/' \
  321.             -e 's/patchlev.h//' \
  322.             -e 's/.*\.h/..\/include\/&/' \
  323.             -e H -e '$$g' -e '$$s/\n/ /g' \
  324.             -e '$$s/.*/'$$i': &/' -e '$$s/\.c:/.o:/p' \
  325.             >> makedep); done
  326.     for i in ${HACKINCL}; do \
  327.         ( /bin/grep '^#[     ]*include[     ]*"' ../include/$$i | sed -n \
  328.             -e 's/[^"]*"\([^"]*\)".*/\1/' \
  329.             -e 's/extern.h//' \
  330.             -e 's/.*\.h/..\/include\/&/' \
  331.             -e H -e '$$g' -e '$$s/\n/ /g' \
  332.             -e '$$s/.*/..\/include\/'$$i': &\
  333.                 touch ..\/include\/'$$i/p \
  334.             >> makedep); done
  335.     @echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
  336.     @echo '$$r makedep' >>eddep
  337.     @echo 'w' >>eddep
  338.     @cp Makefile Makefile.bak
  339.     ed - Makefile < eddep
  340.     @rm -f eddep makedep
  341.     @echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
  342.     @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
  343.     @echo '# see make depend above' >> Makefile
  344.     - diff Makefile.bak Makefile
  345.     @rm -f Makefile.bak
  346.  
  347. # PC dependency for Systos that won't be made on a UNIX system
  348. msdos.o:  ../include/hack.h
  349.  
  350. # DO NOT DELETE THIS LINE
  351.  
  352. allmain.o:  ../include/hack.h
  353. alloc.o:  ../include/config.h
  354. apply.o:  ../include/hack.h ../include/edog.h
  355. artifact.o:  ../include/hack.h ../include/artifact.h
  356. attrib.o:  ../include/hack.h
  357. bones.o:  ../include/hack.h
  358. cmd.o:  ../include/hack.h ../include/func_tab.h
  359. dbridge.o:  ../include/hack.h
  360. decl.o:  ../include/hack.h
  361. demon.o:  ../include/hack.h
  362. do.o:  ../include/hack.h
  363. do_name.o:  ../include/hack.h
  364. do_wear.o:  ../include/hack.h
  365. dog.o:  ../include/hack.h ../include/edog.h
  366. dogmove.o:  ../include/hack.h ../include/mfndpos.h ../include/edog.h
  367. dokick.o:  ../include/hack.h ../include/eshk.h
  368. dothrow.o:  ../include/hack.h
  369. eat.o:  ../include/hack.h
  370. end.o:  ../include/hack.h ../include/eshk.h
  371. engrave.o:  ../include/hack.h
  372. exper.o:  ../include/hack.h
  373. extralev.o:  ../include/hack.h
  374. fountain.o:  ../include/hack.h
  375. getline.o:  ../include/hack.h ../include/func_tab.h
  376. hack.o:  ../include/hack.h
  377. invent.o:  ../include/hack.h ../include/lev.h ../include/wseg.h
  378. ioctl.o:  ../include/hack.h
  379. lock.o:  ../include/hack.h
  380. mail.o:  ../include/hack.h
  381. makemon.o:  ../include/hack.h
  382. mcastu.o:  ../include/hack.h
  383. mhitm.o:  ../include/hack.h ../include/artifact.h
  384. mhitu.o:  ../include/hack.h ../include/artifact.h ../include/edog.h
  385. mklev.o:  ../include/hack.h
  386. mkmaze.o:  ../include/hack.h
  387. mkobj.o:  ../include/hack.h
  388. mkroom.o:  ../include/hack.h
  389. mon.o:  ../include/hack.h ../include/mfndpos.h ../include/wseg.h
  390. mondata.o:  ../include/hack.h ../include/eshk.h ../include/epri.h
  391. monmove.o:  ../include/hack.h ../include/mfndpos.h ../include/artifact.h
  392. monst.o:  ../include/config.h ../include/permonst.h ../include/monsym.h ../include/eshk.h ../include/vault.h ../include/epri.h ../include/color.h
  393. mthrowu.o:  ../include/hack.h
  394. music.o:  ../include/hack.h
  395. o_init.o:  ../include/hack.h
  396. objects.o:  ../include/config.h ../include/obj.h ../include/objclass.h ../include/prop.h ../include/color.h
  397. objnam.o:  ../include/hack.h
  398. options.o:  ../include/hack.h
  399. pager.o:  ../include/hack.h
  400. pickup.o:  ../include/hack.h
  401. polyself.o:  ../include/hack.h
  402. potion.o:  ../include/hack.h
  403. pray.o:  ../include/hack.h
  404. pri.o:  ../include/hack.h ../include/epri.h ../include/termcap.h
  405. priest.o:  ../include/hack.h ../include/mfndpos.h ../include/eshk.h ../include/epri.h
  406. prisym.o:  ../include/hack.h ../include/wseg.h ../include/lev.h
  407. read.o:  ../include/hack.h
  408. restore.o:  ../include/hack.h ../include/lev.h ../include/wseg.h
  409. rip.o:  ../include/hack.h
  410. rnd.o:  ../include/hack.h
  411. rumors.o:  ../include/hack.h
  412. save.o:  ../include/hack.h ../include/lev.h ../include/wseg.h
  413. search.o:  ../include/hack.h ../include/artifact.h
  414. shk.o:  ../include/hack.h ../include/eshk.h
  415. shknam.o:  ../include/hack.h ../include/eshk.h
  416. sit.o:  ../include/hack.h
  417. sounds.o:  ../include/hack.h ../include/edog.h ../include/eshk.h
  418. sp_lev.o:  ../include/hack.h ../include/sp_lev.h
  419. spell.o:  ../include/hack.h
  420. steal.o:  ../include/hack.h
  421. termcap.o:  ../include/hack.h ../include/termcap.h
  422. timeout.o:  ../include/hack.h
  423. topl.o:  ../include/hack.h
  424. topten.o:  ../include/hack.h
  425. track.o:  ../include/hack.h
  426. trap.o:  ../include/hack.h ../include/edog.h
  427. u_init.o:  ../include/hack.h
  428. uhitm.o:  ../include/hack.h ../include/artifact.h
  429. vault.o:  ../include/hack.h ../include/vault.h
  430. version.o:  ../include/hack.h ../include/date.h  ../include/patchlevel.h
  431. weapon.o:  ../include/hack.h
  432. were.o:  ../include/hack.h
  433. wield.o:  ../include/hack.h
  434. wizard.o:  ../include/hack.h
  435. worm.o:  ../include/hack.h ../include/wseg.h
  436. worn.o:  ../include/hack.h
  437. write.o:  ../include/hack.h
  438. zap.o:  ../include/hack.h
  439. ../include/amiconf.h:  ../include/msdos.h ../include/pcconf.h
  440.             touch ../include/amiconf.h
  441. ../include/config.h:  ../include/tradstdc.h ../include/global.h
  442.             touch ../include/config.h
  443. ../include/decl.h:  ../include/spell.h ../include/color.h ../include/obj.h ../include/you.h ../include/onames.h ../include/pm.h
  444.             touch ../include/decl.h
  445. ../include/global.h:  ../include/coord.h ../include/vmsconf.h ../include/unixconf.h ../include/pcconf.h ../include/tosconf.h ../include/amiconf.h ../include/macconf.h
  446.             touch ../include/global.h
  447. ../include/hack.h:  ../include/config.h ../include/decl.h ../include/monsym.h ../include/mkroom.h ../include/objclass.h ../include/gold.h ../include/trap.h ../include/flag.h ../include/rm.h  ../include/trampoli.h 
  448.             touch ../include/hack.h
  449. ../include/macconf.h:  ../include/msdos.h ../include/system.h  ../include/MacAlert.h
  450.             touch ../include/macconf.h
  451. ../include/pcconf.h:  ../include/msdos.h ../include/system.h
  452.             touch ../include/pcconf.h
  453. ../include/permonst.h:  ../include/monattk.h ../include/monflag.h
  454.             touch ../include/permonst.h
  455. ../include/tosconf.h:  ../include/msdos.h ../include/pcconf.h
  456.             touch ../include/tosconf.h
  457. ../include/unixconf.h:  ../include/system.h
  458.             touch ../include/unixconf.h
  459. ../include/vmsconf.h:  ../include/system.h
  460.             touch ../include/vmsconf.h
  461. ../include/you.h:  ../include/attrib.h ../include/monst.h ../include/youprop.h
  462.             touch ../include/you.h
  463. ../include/youprop.h:  ../include/prop.h ../include/permonst.h ../include/mondata.h ../include/pm.h
  464.             touch ../include/youprop.h
  465. # DEPENDENCIES MUST END AT END OF FILE
  466. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  467. # see make depend above
  468.